@fz10: 10px;
@fz12: 12px;
@fz14: 14px;
@fz16: 16px;
@color-h1: #111111;
@color-h2: #656565;
@color-h3: #919191;
@color-h4: #DF0011;
@color-bg: #f3f4f5;
@theme-color: #DF0011;
view, button, input {
  box-sizing: border-box;
}
cover-view{
  box-sizing: border-box;
}

// dialog
.dialog{
  position: fixed;
  left: 0;
  top: 0;
  z-index: 2000;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  &__mask{
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 1;
    background: rgba(0, 0, 0, .4);
  }
  &__main{
    width: 100%;
    position: relative;
    z-index: 2;
    .win{
      flex: 1;
      background: #fff;
      font-size: @fz14;
      &__t{
      }
      &__c{
      }
      &__b{
        padding: 12px 0;
      }
    }

    .t{
      min-height: 44px;
      display: flex;
      align-items: center;
      display: flex;
      align-items: center;
      justify-content: center;
      &__l{
        flex-shrink: 0;
        padding: 0 12px;
        color: @color-h2;
      }
      &__c{
        font-size: @fz14;
        flex: 1;
        text-align: center;
      }
      &__r{
        flex-shrink: 0;
        padding: 0 12px;
        color: @theme-color;
      }
    }
  }
}

// hairline
.hairline{
  width: 100%;
  height: 1px;
  position: relative;
  &::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 200%;
    height: 1px;
    transform: scale(.5);
    transform-origin: left bottom;
    background: #dddddd;
  }
}
// btn
.btn-wrap{
  width: 100%;
  padding: 0 12px;
  display: flex;
  align-items: center;
  .btn{
    margin:0 auto;
    height:35px;
    line-height:35px;
    border-radius:4px;

    padding: 0 40px;
    color: #fff;
    font-size: @fz14;
    background: linear-gradient(90deg, @theme-color, #e54b4d);
    background-color: @theme-color;
    box-shadow: 0 0 20px #ccc;
    transition: opacity 300ms;
    &:before, &:after{
      content: none;
    }
    &:active{
      opacity: .8;
    }
  }
}

.c2 {
  padding: 12px;
  font-size: @fz14;
  .search{
    display: flex;
    align-items: center;
    padding: 0 6px;
    background:rgba(238,238,238,1);
    border-radius:3px;
    .icon{
      width: 20px;
      height: 20px;
    }
    .input{
      flex: 1;
      height: 34px;
      padding: 0 6px;
      color: @color-h2;
    }
    .input-p{
      font-size: @fz14;
      color: @color-h3;
    }
  }
  .checkboxs{
    // margin: 12px 0;
    overflow: auto;
    &::-webkit-scrollbar{
      width: 0;
      height: 0;
    }
  }
  .checkbox{
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    font-size: @fz14;
    color: @color-h1;
    &:last-child{
      margin-bottom: 0;
    }
    &__l{
      flex: 1;
      display: flex;
      .checkbox-text{

      }
    }
    &__r{
      font-size: 0;
      flex-shrink: 0;
      display: flex;
      align-items: center;
    }
  }
}

// dialog b
.b .btn-wrap{
  width: 100%;
  padding: 0 12px;
  display: flex;
  align-items: center;
  .btn{
    padding: 0 40px;
    color: #fff;
    font-size: @fz14;
    background: linear-gradient(90deg, @theme-color, #e54b4d);
    box-shadow: 0 0 20px #ccc;
    transition: all 300ms;
    &:before, &:after{
      content: none;
    }
    &:active{
      opacity: .8;
    }
  }
}

.b .infos{
  &__item{
    margin-bottom: 6px;
    &:last-child{
      margin-bottom: 12px;
    }
    .info{
      display: flex;
      align-items: center;
      font-size: @fz14;
      padding: 0 12px;
      &__l{
        width: 80px;
        color: @color-h1;
      }
      &__c{
        flex: 1;
        color: @color-h2;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        .input-p{
          font-size: @fz14;
          color: @color-h3;
        }
      }
      &__r{
        color: @theme-color;
      }
    }
  }
}